package com.ruoyi.pg.answerSheet.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import io.swagger.annotations.*;

/**
 * 答卷详情对象 pg_answer
 *
 * @author Ming
 * @date 2025-08-22
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@ApiModel(value = "PgAnswer", description = "用户实体")
public class PgAnswer extends BaseEntity {

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 评估id
     */
    @Excel(name = "评估id")
    @ApiModelProperty("评估id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long assId;

    /**
     * 问卷id
     */
    @Excel(name = "问卷id")
    @ApiModelProperty("问卷id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long surveyId;

    /**
     * 问卷题目id
     */
    @Excel(name = "问卷题目id")
    @ApiModelProperty("问卷题目id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long questionId;

    /**
     * 作答内容
     */
    @Excel(name = "作答内容")
    @ApiModelProperty("作答内容")
    private String content;

    /**
     * 备注
     */
    @Excel(name = "备注")
    @ApiModelProperty("备注")
    private String remark;

    /**
     * 是否删除 1-正常 2-删除
     */
    @ApiModelProperty("是否删除 1-正常 2-删除")
    private String deleteStatus;

}
